from common.basepage import BasePage
class BackOfficeMana(BasePage):
    def __init__(self,driver=None):
        super().__init__(driver)
        self.userloc = 'xpath=//*[@id="shortcutBox"]/div/div[1]/div'
        self.backIframe = 'iframe-superadmin'
    def click_userloc(self):
        self.click_button(self.userloc)
    def enterBackIframe(self):
        self.enterIframe(self.backIframe)